<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue</title>
    <!--引入Vue-->
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
<div id="root">
    <h2>学习名称：{{name}}</h2>
    <h2>学习地址：{{address}}</h2>
</div>

<script type="text/javascript">
    const vm=new Vue({
        el:'#root',
        data:{
            name:'尚硅谷',
            address: '北京科技园'
        }
    })
</script>
</body>
</html>